///伤害
class Damage{
  int value;
  bool isCritical = false;
  bool isSkillDamage = false;
  //累加伤害
  int addUpValue = 0;

  Damage(this.value);

  ///最终伤害
  int finalValue(){
    return value + addUpValue;
  }
}